<!--
	作者：2575202388@qq.com
	时间：2019年6月24日15:05:09
	描述：查看报名情况
-->

<template>
	<Modal title="报名情况查看" v-model="modal0" width="1000px" onCancel="closeModal" footer-hide>
		
		<div style="background: #fff;">
			<div style="width:100%;float:left;padding-top: 10px;padding-bottom: 10px;">
				<div style="text-align: right;float:left;line-height:32px;padding-left:10px;">审核情况：</div>			
				<div style="float:left;">
					<Select v-model="tj.shqk" style="width:200px" clearable transfer>
						<Option value="" :key="3">请选择</Option>
				        <Option :value="0" :key="0">未审核</Option>
				        <Option :value="1" :key="1">审核通过</Option>
				        <Option :value="2" :key="2">审核未通过</Option>
				   </Select>
				</div>
				<div style="width:30%;text-align: left;float:left;">
					<Button v-on:click="search()" style="margin-left:1%;background: #ffa500;color:#fff;border:1px solid #ffa500;">搜索</Button>
					<Button @click="openexport" icon="ios-download-outline" type="primary" style="background-color: #ffffff;border:1px solid #ccc;color:#333;margin-right: 5px;">导出</Button>
				</div>
			</div>
		</div>
		<div style="height:550px;">
			<ss :tj="tj" ref="ss" ></ss>
		</div>
		
	</Modal>
</template>

<script>
	import ss from "./ss";
	import _config from "../../../../../config/config";
	export default {
		name: "manage",
		props: {
    		wsid:{
    			type: String,
    			required:true
    		}
    	},
		data() {
			return {
				modal0:false,
				tj: {
					wsid:this.wsid,
					shqk:'',//审核情况
				}
			}
		},
		methods: {
			search(){
				this.$refs.ss.load();
			},
			closeModal(){
	      	    this.modal0 = false;
	        },
	        
	        openexport(){
	        	
	      		window.open(_config._ADMIN_SERVER+"/stgl/bmqk/export_bmqkNowByid.html?wsid="+this.tj.wsid+"&shqk="+this.tj.shqk)
	      	}
	        
		},
		
		components: {
			ss
		},
		mounted(){
		},
		watch:{
			wsid:function(newvalues,oldvalues){
				this.tj.wsid=newvalues;
			}
		},
		computed: {
		}
	}
</script>

<style>
</style>